var express = require('express');
var router = express.Router();
const adminUser = require('../../controller/admin/adminUserController');

//新增管理员
router.post('/add', adminUser.add);
//登录
router.post('/login', adminUser.login);
//获取用户信息
router.get('/getUserInfo', adminUser.getUserInfo);
//获取用户
router.post('/get', adminUser.get);
//修改用户
router.post('/set', adminUser.set);
//删除用户
router.post('/delete', adminUser.delete);

module.exports = router;